#pragma once
#include <vector>
#include <codec.h>



struct face_box
{
    rectangle box;
    float score; //0-1
};
class face_dection
{
private:
    /* data */
public:
    face_dection(/* args */);
    ~face_dection();    
    //support that width or height can change in future
    std::vector<face_box> process(const unsigned char* data[4],        
        int width,
        int height,
        AVPixelFormat format);
private:
    const int target_width = 640;
    const int target_height = 640;
};


